[Top] [Prev] [Next] [Bottom] [Contents]

SaTableCaption

Prints a table caption fragment to an HTML stream. The HTML table element is not supported by all client browsers.

Synopsis

#include "SaRnHtml.h"
int SaTableCaption(char* ename,int align);

Arguments

ename
A string specifying the caption of the HTML table element. This string is converted to an HTML-compatible string. If ename is NULL, an empty string is used.
align
An integer specifying which alignment fragment to use. Valid define constants and their associated HTML fragments are:
SA_NOALIGN
SA_TOP ALIGN="TOP"
SA_MIDDLE ALIGN="MIDDLE"
SA_BOTTOM ALIGN="BOTTOM"
SA_LEFT ALIGN="LEFT"
SA_CENTER ALIGN="CENTER"
SA_RIGHT ALIGN="RIGHT"

Return Values

Returns an integer with a value of 0.

Description

Prints a table caption fragment to an HTML stream. The HTML table element is not supported by all client browsers.

Example

The code fragment:

SaTableCaption("Sportswear Products", SA_CENTER);
will write:

<CAPTION ALIGN="CENTER">Sportswear Products</CAPTION>
to the output stream.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.